﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{
   public class BLLPolicies
    {
       DAOPolicies objDAOPo = new DAOPolicies();

        public DataTable ListPolicy()
        {
            return objDAOPo.ListPolicy();
        }
        public int insertPolicy(DTOPolicies objPo)
       {
           return objDAOPo.InsertPolicy(objPo);
       }
        public int updatePolicy(DTOPolicies objPo)
        {
            return objDAOPo.UpdatePolicyInfo(objPo);
        }
        public int deletePolicy(DTOPolicies objPo)
        {
            return objDAOPo.DeletePolicy(objPo);
        }
        public DataTable GetPolicyById(DTOPolicies objPo)
        {
            return objDAOPo.GetpolicyById(objPo);
        }
    }
}
